export default class Router{
  constructor(url){
    this.url = url
  }
  to(){
    wx.navigateTo({
      url: this.url,
      fail:function(e){
        console.log(e)
      }
    })
  }
}
